package jsonprotocol

// field 实现 lineprotocol.Field (io.WriterTo)
type Field struct {
	key   string
	value interface{}
}

// NewField 工厂函数
func NewField(key string, value interface{}) Field {
	return Field{key: key, value: value}
}
